﻿<%@ Page Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="Personal.aspx.cs"
    Inherits="Personal" Title="Profile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <asp:Label ID="lblPageName" runat="server" Text="Personal Information"></asp:Label>
    </div>
    <table>
        <tr>
            <td>
                <asp:Label ID="lblFirstName" runat="server" Text="First Name"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblLastName" runat="server" Text="Last Name"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblEmailAddress" runat="server" Text="Email Address"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtEmailAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
        <td>
            <asp:Label ID="lblPointsLabel" runat="server" Text="Current Points"></asp:Label>
        </td>
        <td>
            <asp:label ID="lblPoints" runat="server"></asp:label>
        </td>
        </tr>
    </table>
    <table>
        <tr>
        <td>
        <asp:LinkButton ID="lbNewItem" runat="server" Text="Add a new Item"></asp:LinkButton>
        </td>
        </tr>
        <asp:Repeater ID="rptItems" runat="server">
            <HeaderTemplate>
                <tr>
                    <td>
                        <asp:Label ID="lblItemName" runat="server" Text="Item Name"></asp:Label>
                    </td>
                </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:Label ID="lblItem" runat="server" Text="THEDATASOURCEFROMNHIBERNATE"></asp:Label>
                    </td>
                    <td>
                        <asp:HyperLink ID="lnkItem" runat="server" Text="edit"></asp:HyperLink>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</asp:Content>
